<template>
	<view class="container">

	</view>
</template>

<script>
	export default {
		data() {
			return {
				scrollHeight: 0,
			}
		},
		onLoad() {
			const query = uni.createSelectorQuery();
			query.in(this).select('.swiper-box').boundingClientRect();
			query.exec((res) => {
				this.scrollHeight = uni.getSystemInfoSync().windowHeight - res[0].top + 'px';
			})
			this.getHttp();
		},
		methods: {
			getHttp() {
				uni.showLoading({
					title: '加载中...',
					mask: true
				})


				setTimeout(() => {
					uni.hideLoading();
				}, 800)
			},
		},
	}
</script>

<style lang="scss" scoped>
	.container {

	}
</style>
